projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aa94bd
)
(Fcall_process): Don't close the same fd twice.
author
Karl Heuer
<kwzh@gnu.org>
Wed, 15 May 1996 14:32:37 +0000
(14:32 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Wed, 15 May 1996 14:32:37 +0000
(14:32 +0000)
src/callproc.c
patch
|
blob
|
history
diff --git
a/src/callproc.c
b/src/callproc.c
index 265d82877230fcbe830f7ce75820fc3f90d7fba5..4d84c98edb7753162567751eb7d916dca45538a1 100644
(file)
--- a/
src/callproc.c
+++ b/
src/callproc.c
@@
-458,7
+458,7
@@
If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
/* Close most of our fd's, but not fd[0]
since we will use that to read input from. */
close (filefd);
- if (fd1 >= 0)
+ if (fd1 >= 0
&& fd1 != fd_error
)
close (fd1);
}